package com.japstudy.entity;

import java.sql.Date;

public class User {
	private String userId;
	private String userName;
	private String userAccount;
	private String userPassword;
	private String userPhone;
	private String userEmail;
	private String userPhoto;
	private String userRealname;
	private Date userBirthday;
	private String userCardnumber;
	private String adminLogin;
	
	public User() {
		super();
	}

	public User(String userId, String userName, String userAccount, String userPassword, String userPhone,
			String userEmail, String userPhoto, String userRealname, Date userBirthday, String userCardnumber,
			String adminLogin) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userAccount = userAccount;
		this.userPassword = userPassword;
		this.userPhone = userPhone;
		this.userEmail = userEmail;
		this.userPhoto = userPhoto;
		this.userRealname = userRealname;
		this.userBirthday = userBirthday;
		this.userCardnumber = userCardnumber;
		this.adminLogin = adminLogin;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserPhoto() {
		return userPhoto;
	}

	public void setUserPhoto(String userPhoto) {
		this.userPhoto = userPhoto;
	}

	public String getUserRealname() {
		return userRealname;
	}

	public void setUserRealname(String userRealname) {
		this.userRealname = userRealname;
	}

	public Date getUserBirthday() {
		return userBirthday;
	}

	public void setUserBirthday(Date userBirthday) {
		this.userBirthday = userBirthday;
	}

	public String getUserCardnumber() {
		return userCardnumber;
	}

	public void setUserCardnumber(String userCardnumber) {
		this.userCardnumber = userCardnumber;
	}

	public String getAdminLogin() {
		return adminLogin;
	}

	public void setAdminLogin(String adminLogin) {
		this.adminLogin = adminLogin;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userAccount=" + userAccount + ", userPassword="
				+ userPassword + ", userPhone=" + userPhone + ", userEmail=" + userEmail + ", userPhoto=" + userPhoto
				+ ", userRealname=" + userRealname + ", userBirthday=" + userBirthday + ", userCardnumber="
				+ userCardnumber + ", adminLogin=" + adminLogin + "]";
	}
}
